home *** CD-ROM | disk | FTP | other *** search
/ The Games Machine 75 / XENIATGM75.iso / Shareware / X-Setup 5.0 / _SETUP.1 / XQ WinNT AppInit.xpl < prev    next >
Text File  |  1999-02-28  |  1KB  |  38 lines

  1. "FILE"="Xteq Systems X-Setup Plugin 3.1"
  2. "TYPE"="1"
  3. "COUNT"="1"
  4. "UIPATH"="System\Security"
  5. "NAME"="App Init DLLs"
  6. "LANGUAGE"="VBScript"
  7. "TEXT 1"="Init DLLs"
  8. "DESCRIPTION 1"="This settings causes Windows NT to load the specified DLLs every time a program is started."
  9. "DESCRIPTION 2"="If you have trouble running some applications and this field is not empty, it is possible that the DLLs are responsible for this behavior."
  10. "DESCRIPTION 3"="In this case, clear this field and restart your computer."
  11. "AUTHOR"="Xteq Systems"
  12. "COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved"
  13. "COMMENT 1"="For more information, go to http://www.xteq.com or write to TeXHeX@gmx.net."
  14. "COMMENT 2"="Version 1.1"
  15.  
  16.  
  17. sPath="HKLM\Software\Microsoft\Windows NT\CurrentVersion\Windows\AppInit_DLLs"
  18. Sub Plugin_Initialize 
  19.  if GetWinVer=2 then
  20.   s=RegReadValue(sPath)
  21.   Call SetUIElement(1,s)
  22.  else
  23.   Disable
  24.  end if
  25. End Sub
  26.  
  27. Sub Plugin_CheckData(ElementIndex)
  28. End Sub
  29.  
  30. Sub Plugin_Apply(ElementIndex,ElementSubIndex)
  31.  s=GetUIElement(1)
  32.  Call RegWriteValue(sPath,s,1)
  33.  Call Restart
  34. End Sub
  35.  
  36. Sub Plugin_Terminate 
  37. End Sub
  38.